/*
 * IIC_UNIT.h
 *
 *  Created on: Nov 5, 2021
 *      Author: ITry
 */

#ifndef INC_IIC_UNIT_H_
#define INC_IIC_UNIT_H_

#include "public.h"

int iic_read_byte (void* bus_param, uint8_t dev_addr, uint8_t reg_addr, uint8_t *data);
int iic_read_bytes (void* bus_param, uint8_t dev_addr, uint8_t reg_addr, uint8_t len, uint8_t *data);
int iic_write_byte (void* bus_param, uint8_t dev_addr, uint8_t reg_addr, uint8_t data);

#endif /* INC_IIC_UNIT_H_ */
